SOFA API  73d8bb95
Open source framework for multi-physics simuation
sofa::helper::system::MonitoredFile Class Reference

Public Attributes

FileEventListenerm_listener {nullptr}
 
string m_filename
 

Public Member Functions

 MonitoredFile (const string &filename, FileEventListener *listener)
 
 ~MonitoredFile ()
 
bool update ()
 
 MonitoredFile (const string &filename, FileEventListener *listener)
 
bool update ()
 

Attribute details

string sofa::helper::system::MonitoredFile::m_filename
FileEventListener * sofa::helper::system::MonitoredFile::m_listener {nullptr}

Constructor details

sofa::helper::system::MonitoredFile::MonitoredFile ( const string &  filename,
FileEventListener listener 
)
inline
sofa::helper::system::MonitoredFile::~MonitoredFile ( )
inline
sofa::helper::system::MonitoredFile::MonitoredFile ( const string &  filename,
FileEventListener listener 
)
inline

Function details

bool sofa::helper::system::MonitoredFile::update ( )
inline
bool sofa::helper::system::MonitoredFile::update ( )
inline