SADB-Client  0.99
Situational Awareness Database
 All Classes Functions Variables
Public Member Functions | Public Attributes | List of all members
SADB::BlackboardObjectListener Class Reference

Public Member Functions

 BlackboardObjectListener (void)
 
 ~BlackboardObjectListener (void)
 
void Initialize (BlackboardObject *Obj, SADBu64 period, void(*callback)(BlackboardObject *))
 
void Free (void)
 Frees allocated memory.
 
void Start (void)
 Start the main thread for the Object Listener.
 
void Stop (void)
 Stop the main thread for the Object Listener.
 

Public Attributes

SADBu64 Period
 

Constructor & Destructor Documentation

BlackboardObjectListener::BlackboardObjectListener ( void  )

Constructor, initializes object

See also
Blackboard::Initialize
BlackboardObjectListener::~BlackboardObjectListener ( void  )

Destructor, deinitializes object

See also
Blackboard::Free

Member Function Documentation

void BlackboardObjectListener::Initialize ( BlackboardObject Obj,
SADBu64  period,
void(*)(BlackboardObject *)  callback 
)

Initializes object

Parameters
ObjObject to be periodically checked
periodPeriod of the check (in us)
callbackCallback function, which should have prototype "void functionname(BlackboardObject *)

The documentation for this class was generated from the following files: